package com.cloud.collection.dao;

import com.cloud.commonapi.model.Goods_info;
import com.cloud.commonapi.model.Goods_star;

import java.util.List;

public interface Goods_starMapper {
    int deleteByPrimaryKey(Integer id);

    int deleteById(Integer id,Integer accountId);
    int insert(Goods_star record);

    int insertSelective(Goods_star record);

    Goods_star selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Goods_star record);

    int updateByPrimaryKey(Goods_star record);

    List<Goods_info> selectByAccountId(int accountId);

    Goods_star selectAlready(int goodsId,int accountId);
}